{% extends user.is_superuser|yesno:"admin/bootstraped_base_site.html,registration/normaluser_bootstraped_base_site.html" %}
{% load i18n %}{% load url from future %}

{% if user.is_superuser %}
	{% block breadcrumbs %}
	<ul class="breadcrumb">
	<li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> <span class="divider">/</span></li>
	<li>{% trans 'Password reset complete' %}</a>
	</ul>
	{% endblock %}
	{% block title %}{% trans 'Password reset complete' %}{% endblock %}
{% endif %}

{% block content_title %}
	{% if user.is_superuser %}
		<a class="brand">{% trans 'Password reset complete' %}</a>
	{% else %}
		{% trans 'Password reset complete' %}
	{% endif %}
{% endblock %}

{% block content %}
	<div class="alert alert-success">{% trans "Your password has been set.  You may go ahead and log in now." %}</div>
	{% if user.is_superuser %}
		<p><a href="{{ login_url }}" class="btn brn-primary">{% trans 'Log in' %}</a></p>
	{% else %}
		<p><a href="\home\" class="btn brn-primary">{% trans 'Home' %}</a></p>
	{% endif %}
{% endblock %}
